package com.sqj.proxyPattern;

public class OrderServiceImpl implements IOrderService{
    private OrderDao orderDao;

    public OrderServiceImpl(){
        orderDao=new OrderDao();
    }

    @Override
    public void createOrder(Order order) {
        orderDao.insert(order);
    }
}
